package edu.ustb.mapper.goods;

import edu.ustb.domain.goods.Goods;

import java.util.List;

public interface GoodsDao {
    int deleteByPrimaryKey(Integer goodsId);

    int insert(Goods record);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(Integer goodsId);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);

    List<Goods> findAll();


    //List<Goods> findAll(@Param("goodsName") String goodsName, @Param("minPrice") String minPrice, @Param("maxPrice") String maxPrice);
   /* List<Goods> findAll();*/



}